package com.haizhi.crm.biz.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * Desc:产品
 * Created by yangyijun on 2018/06/03
 */
@Data
public class ProductQo {

    @ApiModelProperty(value = "产品类型" )
    private String type;

    @ApiModelProperty(value = "产品子类型" )
    private String subType;

    @ApiModelProperty(value = "产品名称" )
    private String name;

    @ApiModelProperty(value = "产品期限搜索-开始时间" )
    private String maturityStartDate;

    @ApiModelProperty(value = "产品期限搜索-结束时间" )
    private String maturityEndDate;

    @ApiModelProperty(value = "按产品发行日期排序，可选值：asc|desc，默认desc" )
    private String startDateOrder = "desc";

    @ApiModelProperty(value = "按产品结束日期排序，可选值：asc|desc，默认desc" )
    private String maturityDateOrder = "desc";

    @Min(value = 1)
    private Integer pageNo = 1;

    @Min(value = 1)
    private Integer pageSize = 10;
}
